package com.xishu.entity.shop;

import com.xishu.annotation.dao.Hidden;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * foodPanda 配置
 */
public class FoodPandaConfig implements Serializable {
    private static final long serialVersionUID = 7447015582634903439L;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "密码")
    @Hidden
    private String password;

    @ApiModelProperty(value = "JWT的密钥")
    @Hidden
    private String secret;

    @ApiModelProperty(value = "foodpanda提供的vendors信息")
    private String vendors;

    @ApiModelProperty(value = "string The unique identifier of the chain that the vendor belongs to")
    private String chainCode;

    @ApiModelProperty(value = "是否已经配置完成")
    private Boolean configComplete;

    @ApiModelProperty(value = "JWT的密钥")
    @Hidden
    private String tokenSecret;

    public String getTokenSecret() {
        return tokenSecret;
    }

    public void setTokenSecret(String tokenSecret) {
        this.tokenSecret = tokenSecret;
    }

    public String getChainCode() {
        return chainCode;
    }

    public void setChainCode(String chainCode) {
        this.chainCode = chainCode;
    }

    public String getVendors() {
        return vendors;
    }

    public void setVendors(String vendors) {
        this.vendors = vendors;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Boolean getConfigComplete() {
        return configComplete;
    }

    public void setConfigComplete(Boolean configComplete) {
        this.configComplete = configComplete;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }
}
